home *** CD-ROM | disk | FTP | other *** search
-
-
-
- QQQQUUUUEEEERRRRYYYY((((1111MMMM)))) KKKK----SSSSppppoooooooollll bbbbyyyy XXXXiiiinnnneeeetttt ((((11110000////11114444////99999999 11110000....1111)))) QQQQUUUUEEEERRRRYYYY((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- query - query AppleTalk Printer and put response into a
- file.
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////eeeettttcccc////aaaapppppppplllleeeettttaaaallllkkkk////qqqquuuueeeerrrryyyy [[[[----aaaa]]]] [[[[----vvvv]]]] [[[[----PPPP _p_r_i_n_t_e_r ]]]] [[[[----TTTT _t_y_p_e ]]]]
- [[[[----ZZZZ _z_o_n_e ]]]] [[[[ _n_u_m_b_e_r ]]]] _q_u_e_r_y_f_i_l_e _o_u_t_f_i_l_e
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _q_u_e_r_y program sends a PostScript query (from _q_u_e_r_y_f_i_l_e)
- to a printer, and places the result in the file _o_u_t_f_i_l_e.
- The flags are defined as follows:
-
- ----aaaa look in all zones (default)
-
- ----ssss indicates the printer is serial (see below)
-
- ----vvvv says be verbose
-
- ----PPPP says look for printer with this name (default is
- LaserWriter)
-
- ----TTTT means look as if it is this type of printer (default is
- LaserWriter)
-
- ----ZZZZ tells it which zone to look in (default is all zones)
-
- The _q_u_e_r_y_f_i_l_e must exist, and contain a PostScript procedure
- that will send the required data, terminated by an asterisk.
- The _q_u_e_r_y_f_i_l_e must also be readable. The _o_u_t_f_i_l_e must be
- writable (if it exists already).
-
- This program can used by to to generate a fontlist by using
- the included query file _f_o_n_t_q_u_e_r_y. For example:
- query -P "LaserWriter Plus" /usr/etc/appletalk/fontquery fontlist
- would generate a file fontlist in the current directory.
-
- In order to query a serial printer, the input and output
- must be redirected. For example:
- (stty 9600 -echo -lcase tabs -nl tandem litout new ; \
- query -s /usr/etc/appletalk/fontquery fontlist ) \
- < /dev/tty01 > /dev/tty01
- Would query a serial printer running at 9600 baud attached
- to tty01 for its fontlist. The stty options may have to be
- adjusted for your particular printer.
-
- CCCCAAAAVVVVEEEEAAAATTTTSSSS
- _q_u_e_r_y is no longer used for anything in K-Spool. It is
- included soley for backward compatibility and as a tool for
- custom applications.
-
-
-
- Page 1 (printed 1/20/100)
-
-
-
-